package goldendawn.footballalarm.entity;

import goldendawn.core.BaseEntity;

import android.content.ContentValues;
	/***
	* Teams实体类型
	* @author 由GoldenDawn 实体类生成器生成
	* 2012-12-08 10-19-30
	*/
public class Teams extends BaseEntity {
	public static String ID="id";
	public static String NAME="name";
	public static String NAME_CN="name_cn";
	public static String LEAGUE="league";
	public static String IMAGE_NAME="image_name";

	private int _id;
	private String _name;
	private String _name_cn;
	private int _league;
	private String _image_name;

	public void setId(int id) {
		this._id=id;
	}
	public int getId() {
		return _id;
	}

	public void setName(String name) {
		this._name=name;
	}
	public String getName() {
		return _name;
	}

	public void setName_cn(String name_cn) {
		this._name_cn=name_cn;
	}
	public String getName_cn() {
		return _name_cn;
	}

	public void setLeague(int league) {
		this._league=league;
	}
	public int getLeague() {
		return _league;
	}

	public void setImage_name(String image_name) {
		this._image_name=image_name;
	}
	public String getImage_name() {
		return _image_name;
	}

	@Override
	public String getPriKey() {
		return "id";
	}
	@Override
	public String getPriKeyValue() {
		return _id+"";
	}
	@Override
	public ContentValues getContentValues() {
		ContentValues values=new ContentValues();
		values.put("ID",_id);
		values.put("NAME",_name);
		values.put("NAME_CN",_name_cn);
		values.put("LEAGUE",_league);
		values.put("IMAGE_NAME",_image_name);
		return values;
	}
	}